package com.ruoyi.boss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * TV平台版本管理对象 tv_platform_versions
 * 
 * @author nz
 * @date 2025-08-19
 */
public class TvPlatformVersions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号（自增主键） */
    private Long id;

    /** TV平台名称（如：凌动空间） */
    @Excel(name = "TV平台名称", readConverterExp = "如=：凌动空间")
    private String tvPlatformName;

    /** TV平台版本号（如：1.1） */
    @Excel(name = "TV平台版本号", readConverterExp = "如=：1.1")
    private String tvPlatformVersion;

    /** versincode（如：343224） */
    @Excel(name = "versincode", readConverterExp = "如=：343224")
    private String versincode;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人（如：于海超） */
    @Excel(name = "操作人", readConverterExp = "如=：于海超")
    private String operator;

    /** TV平台版本名称（对应“TV平台版本名称”） */
    @Excel(name = "TV平台版本名称", readConverterExp = "对=应“TV平台版本名称”")
    private String versionName;

    /** 开始更新时间（日历插件选择） */
    @Excel(name = "开始更新时间", readConverterExp = "日=历插件选择")
    private Date startUpdateTime;

    /** 安装包路径（上传后存储路径） */
    @Excel(name = "安装包路径", readConverterExp = "上=传后存储路径")
    private String installPackage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTvPlatformName(String tvPlatformName) 
    {
        this.tvPlatformName = tvPlatformName;
    }

    public String getTvPlatformName() 
    {
        return tvPlatformName;
    }

    public void setTvPlatformVersion(String tvPlatformVersion) 
    {
        this.tvPlatformVersion = tvPlatformVersion;
    }

    public String getTvPlatformVersion() 
    {
        return tvPlatformVersion;
    }

    public void setVersincode(String versincode) 
    {
        this.versincode = versincode;
    }

    public String getVersincode() 
    {
        return versincode;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setVersionName(String versionName) 
    {
        this.versionName = versionName;
    }

    public String getVersionName() 
    {
        return versionName;
    }

    public void setStartUpdateTime(Date startUpdateTime) 
    {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getStartUpdateTime() 
    {
        return startUpdateTime;
    }

    public void setInstallPackage(String installPackage) 
    {
        this.installPackage = installPackage;
    }

    public String getInstallPackage() 
    {
        return installPackage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tvPlatformName", getTvPlatformName())
            .append("tvPlatformVersion", getTvPlatformVersion())
            .append("versincode", getVersincode())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("operator", getOperator())
            .append("versionName", getVersionName())
            .append("startUpdateTime", getStartUpdateTime())
            .append("installPackage", getInstallPackage())
            .toString();
    }
}
